package cn.cjj.gulimall.order.feign;

import cn.cjj.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author CuiJunJie
 * @create 2021/7/8-21:00
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    @RequestMapping("/member/memberreceiveaddress/address/{memberId}")
    public List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);
}
